package com.mezz.bones.framework.base.domain.enums;

import lombok.Getter;

@Getter
public enum SseBusinessEnum {

    HEARTBEAT("heartbeat", "心跳包", Object.class),
    SSE_INIT("sse_init","SSE初始化连接",Object.class),
    PUSH_SRM_SYS_MESSAGE("push_srm_sys_message_unread_num","供应商应用消息通知",Object.class),
    PUSH_SRM_IM_UNREAD_NUM("push_srm_im_unread_num","供应商IM消息未读数",Object.class),
    PUSH_SAAS_IM_UNREAD_NUM("push_saas_im_unread_num","SAAS平台IM消息未读数",Object.class),
    PUSH_SRM_MARKET_ACCOUNT_RECHARGE_SUCCESS("push_srm_market_account_recharge_success","SRM平台营销账号充值成功通知",Object.class),
    PUSH_SRM_LOGIN_EVENT("push_srm_login_event","SRM扫码登录事件",Object.class)
    ;

    /**
     * 业务代码
     */
    private String businessId;
    /**
     * 业务描述
     */
    private String businessDesc;
    /**
     * 业务数据对象
     */
    private Class businessType;


    SseBusinessEnum(String businessId, String businessDesc, Class businessType) {
        this.businessType = businessType;
        this.businessId = businessId;
        this.businessDesc = businessDesc;
    }


}
